08. Lab: Consume an API

Lab: Consume an API

Consume a publicly accessible API from Java using one from this list.

  • Step 1: Add the Jackson dependency to the Maven POM file.

  • Step 2: Use RestTemplate to test a publicly accessible API from the list.

Consume an API Lab

Task List:

Task Feedback:

Consuming information from an external API can speed up your development, so you can focus on the unique aspects of your own API. Great job!

We haven't included a solution for this lab due to the vast differences in how you might implement this, both depending on the specific API's functionality as well as whether it is a SOAP vs. REST API. Make sure to check back in the Case Study if you need a refresher!